<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.prime.com.tr/ui">
    <h:head>
        <title>Facelet Title</title>
    </h:head>
    <h:body>
        <ui:composition>
            <table width="100%">
                <tr>

                    <td width="90%" valign="top">
                        <p:panel header="User's Profile">
                            <table border="1" height="300px" width="100%">
                                <tr>
                                    <td width="50%"><h:outputText value="User Name :"/></td>
                                    <td width="50%"><h:outputText value="#{userBean.user.uid}"/></td>                        
                                </tr>
                                <tr>
                                    <td><h:outputText value="Password :"/></td>
                                    <td><h:outputText value="*********"/></td>                        
                                </tr>
                                <tr>
                                    <td><h:outputText value="Email :"/></td>
                                    <td><h:outputText value="#{userBean.user.email}"/></td>                        
                                </tr>                  
                            </table>                
                        </p:panel>
                    </td>
                    <td valign="top" align="left" width="10%">
                        <h:form><h:commandButton image="./../images/edit.gif" value="Edit" action="#{navigate.toEdit}"/></h:form>
                    </td>
                </tr>


                <tr>

                    <td width="90%">
                        <p:panel header="Personal Information">
                            <table border="1" width="100%" height="400px">
                                <tr>
                                    <td width="50%"><h:outputText value="Contact Person :"/></td>
                                    <td width="50%"><h:outputText value="#{userBean.user.contact}"/></td>                        
                                </tr>
                                <tr>
                                    <td><h:outputText value="Mobile Number :"/></td>
                                    <td><h:outputText value="#{userBean.user.mobile}"/></td>                        
                                </tr>
                                <tr>
                                    <td><h:outputText value="TelePhone Number :"/></td>
                                    <td><h:outputText value="#{userBean.user.tele}"/></td>                        
                                </tr>                  
                                <tr>
                                    <td><h:outputText value="City :"/></td>
                                    <td><h:outputText value="#{userBean.user.cityName}"/></td>                        
                                </tr>                  
                            </table>                
                        </p:panel>
                    </td>
                    <td valign="top" align="left" width="10%">
                        <h:form><h:commandButton image="./../images/edit.gif" value="Edit" action="#{navigate.toEdit}"/></h:form>
                    </td>
                </tr>
            </table>
        </ui:composition>
    </h:body>    
</html>

